package erfgame.core.world.terrain.insertion;

import java.awt.Graphics;
import java.awt.Point;
import java.awt.Rectangle;
import java.io.Serializable;

import erfgame.core.graphics.renderer.chain.RendererChain;

public interface SurfaceInsertion extends Serializable {
	
	Rectangle getBounds();
	
	int getDepth( Rectangle r );
	
	int getDepth( Point point );
	
	void render( Graphics g, boolean isTop );

//	int getOrder( SurfaceInsertion renderer );
//	
	RendererChain getRendererChain();
	
	boolean contains( int lx, int ly );
}
